package com.meima.service.impl;

import com.meima.entity.Order;
import com.meima.mapper.OrderMapper;
import com.meima.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    OrderMapper orderMapper;

    @Override
    public Order findById(Long id) {
        return orderMapper.selectById(id);
    }
}
